package com.ITArmy.service;

import com.ITArmy.beans.Configs;
import com.ITArmy.common.ServerResponse;
import org.springframework.web.multipart.MultipartFile;
import sun.security.krb5.Config;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ConfigService {


    //获取全部的主题信息

    List<Configs> getAllConfig();

    //用户更改自己的主题

    ServerResponse changeTheme(int cId, HttpServletRequest request);

    /**
     * 上传主页轮播图片
     */
    ServerResponse uploadIndexPicture(int configId, int location, MultipartFile picture, HttpServletRequest request);



}
